package com.demo.model;

import java.math.BigDecimal;

/**
 * @Author LeeXyan
 * @Date 2017/8/31 17:09
 */
public class Rule {
    private BigDecimal ruleM;//金额
    private int integral;//积分值

    public Rule(){
        super();
    }

    public Rule(BigDecimal ruleM,int integral){
        this.ruleM=ruleM;
        this.integral=integral;
    }
    public BigDecimal getRuleM() {
        return ruleM;
    }

    public void setRuleM(BigDecimal ruleM) {
        this.ruleM = ruleM;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }
}
